import "../css/div_style.css";
import "../css/title_style.less";
import imgSrc from "../img/webpack.png";
import "../css/bg-style.css";

const divEl = document.createElement("div");
divEl.textContent = "hello world";
divEl.classList.add("content");
document.body.append(divEl);

const titleEl = document.createElement("h2");
titleEl.textContent = "哈哈哈";
titleEl.classList.add("title");
document.body.append(titleEl);

const imgEl = document.createElement("img");
imgEl.src = imgSrc;
document.body.append(imgEl);

const divBgEl = document.createElement("div");
divBgEl.classList.add("img-bg");
document.body.append(divBgEl);
